home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Newsflash issue 2 disk 1.adf / startup1 < prev    next >
Text File  |  1990-01-24  |  4KB  |  94 lines

  1. ; -=============================================================-
  2. ;
  3. ;           Newsflash Issue No.20 - Startup Sequence
  4. ;
  5. ;               Written by Martyn/Newsflash UK.
  6. ;
  7. ;  Normally we try and keep the sequence as short as possible
  8. ;  and never bother to comment it, but the aim is so that new
  9. ;  users can have a look at what is going on and maybe try a
  10. ;  few things out themselves.
  11. ;  
  12. ;  Users may also find that commenting their scripts is useful
  13. ;  in the beginning if only to keep track of what`s happening.
  14. ;
  15. ;  This file should also easily explain the utilities that are
  16. ;  located in the C (command) directory, you can of course copy
  17. ;  these to your own C dir and use them in the same way.
  18. ;
  19. ;
  20. echo "›0 p"
  21. ;
  22. ;  ECHO is normally used to print a message on the screen, this 
  23. ;  time we have used control characters (which won`t show up on
  24. ;  PPMORE) and this does the job of making the cursor the same
  25. ;  colour of the background, making it invisble and is purely 
  26. ;  included to neaten things up - what a tidy soul I am :-)
  27. c/border off
  28. ;
  29. ;ff >nil: siesta.font
  30. ;
  31. ;  FF is the FAST-FONTS program, not only can we speed up text but
  32. ;  also take advantage of using a better looking font that that horrid
  33. ;  boring, smelly TOPAZ 80. The `m`s are a bit dodgy with the SIESTA.FONT
  34. ;  but its nice to read and comfortable on the eyes.
  35. ;  You can of course get the siesta font for your own use by knicking it
  36. ;  out of the FONTS dir.
  37. ;
  38. ;  The >NIL: bit is whats called `redirecting`, the NIL: device is just
  39. ;  like a trashcan you can send any output to. For instance when you run
  40. ;  Fastfonts, it prints "Fast fonts installed" and other information, but
  41. ;  we can send this to the trash with >NIL: so no text is printed, rather
  42. ;  like the QUIET command of COPY.
  43. ;
  44. ;
  45. ;
  46. ;
  47. ;  Type the first little message onto the screen. The messages were 
  48. ;  prepared with TEXTPAINT, featured on Issue 10 of Newsflash. (very good!)
  49. ;
  50. ;  The type command used is a nice one too, it scrolls the current text off
  51. ;  screen and brings the new text on...
  52. ;
  53. message
  54. ;
  55. ;
  56. ;
  57. ;nf20pack (already run in startup-sequence)
  58. ;  This pack contains all menufiles and the PPmore command to give you
  59. ;  a fast access to all menus and articles in Newsflash. The utility I
  60. ;  use for producing this pack of files was written as a in the house
  61. ;  utility by Daniel Ockeloen, a talented Dutch programmer.
  62. ;
  63. df0:c/assign s: ram:
  64. ;  Because we`ve now got our commands in RAM: we have to tell the Amiga to
  65. ;  stop searching the disk for the commands but look where we have put them,
  66. ;  we do this using assign. So now where it used to look for the C dir on the
  67. ;  disk it looks to ram:  This is known as `assigning logical devices`.
  68. ;  Because C: is a!device, it holds the commands. There`s nothing stopping
  69. ;  you copying your whole C dir to ram (if you`ve enough ram!) and assigning
  70. ;  it with ASSIGN. Then you`ld have a hyper-quick CLI! Even better if you 
  71. ;  use a recoverable ram-disk...
  72. ;
  73. df0:c/zoomwindows quiet
  74. ;  a nice effect if there are windows opened...
  75. ;
  76. df0:powermenu 
  77. ;
  78. ;  Let loose the menu... 
  79. ;
  80. ; -=====================================================================-
  81. ;
  82. ;  That`s all folks.. easy when you think about it... I hope this file has
  83. ;  been of use to someone out there and it will encourage you to have a 
  84. ;  mess yourself and understand the CLI a little better, it really is quite
  85. ;  easy to understand once you realise all the jargon is used to show off
  86. ;  and be flash more than anything else..
  87. ;                                         Seeya.. Martyn/Newsflash UK.
  88. ; -====================================================================-
  89. ; AFTER EXIT MENU SYSTEM NEWSFLASH:
  90. df0:c/assign s: df0:s
  91. df0:c/setmap ut
  92. df0:menu2
  93.